namespace QuickPrompt.DataAccess.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class InitialSchema1 : DbMigration
    {
        public override void Up()
        {
            DropIndex("dbo.QuickNote", "IX_QuickNoteByUser");
            DropIndex("dbo.QuickNote", new[] { "UserGuid" });
            CreateIndex("dbo.QuickNote", new[] { "UserGuid", "Name" }, unique: true, name: "IX_QuickNoteByUser");
        }
        
        public override void Down()
        {
            DropIndex("dbo.QuickNote", "IX_QuickNoteByUser");
            CreateIndex("dbo.QuickNote", "UserGuid");
            CreateIndex("dbo.QuickNote", "Name", unique: true, name: "IX_QuickNoteByUser");
        }
    }
}
